<%@ Page Language="C#" MasterPageFile="~/Labs.master" AutoEventWireup="true" 
    CodeBehind="textboxextfunctionality.aspx.cs" 
    Inherits="SharpPieces.DemoApp.TextBoxExtenderFunctionality" 
%>

<asp:Content ID="Content1" ContentPlaceHolderID="headPlaceHolder" runat="server">
    <h1>SharpPieces - TextBoxExtender Functionality - Live Demo</h1>
    <script type="text/javascript" src="/js/jquery.example.js"></script>
    <style type="text/css">
        .formInputExample { color:#ffaaaa; }
    </style>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="descriptionPlaceholder" runat="server">
    Upcoming control in SharpPieces toolbox.
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" />
    
    <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
    <piece:TextBoxExtender ID="TextBoxExtender1" runat="server" TargetControlID="TextBox1">
        <FormInputExample Text="Example with css" Enabled="true" CssClass="formInputExample" />
    </piece:TextBoxExtender>
    <br />
    <br />
    <asp:TextBox ID="TextBox2" runat="server" TextMode="MultiLine"></asp:TextBox>
    <piece:TextBoxExtender ID="TextBoxExtender2" runat="server" TargetControlID="TextBox2">
        <FormInputExample Text="Example + TextArea AutoGrow" Enabled="true" />
        <AutoGrow Enabled="true" />
    </piece:TextBoxExtender>    
</asp:Content>
